﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class Textbut : MonoBehaviour {
    private void Awake()
    {
        this.gameObject.GetComponent<Button>().onClick.AddListener(delegate {
            GameObject temp = GameObject.Find("Infinity_VTD");
            if (temp)
            {
                temp.GetComponentsInChildren<OneP.InfinityScrollView.InfinityScrollView>()[0].Setup(88);
            }
        });
    }
}
